.PHONY:all

all:Tclient Tserverd

Tclient:tcp_client.cc
	g++ $^ -o $@ -std=c++11 -l pthread

Tserverd:tcp_server.cc
	g++ $^ -o $@ -std=c++11 -l pthread

.PHONY:clean

clean:
	rm -f Tclient Tserverd

#后缀为d代表守护进程